package com.sise.foodplatform.service;

import com.sise.foodplatform.pojo.User;



import java.util.List;

public interface UserService {
    public User getUserByMessage(String username,String password);
    public List<User> getAllUser(String username,int PageStart,int pageSize);
    public int getUserCounts(String username);
    public int updateState(Integer id,Boolean state);
    public int addUser(User user);
    public int deleteUser(int id);
    public User getUpdateUser(int id);
    public int editUser(User user);
}
